<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="admin/template/css/login.css"/>

</head>
<body>
    <div id="login">
        <h1>Login</h1>
        {literal}我实俗话{/literal}
        <?php echo ($smarty["const"]["IM"]); ?>
        {section name=n loop=$a}<?php echo ($a[n]); ?>{/section}
        <form action="admin.php" method="post">
            <input type="text" required="required" placeholder="用户名" name="user"></input>
            <input type="password" required="required" placeholder="密码" name="pw"></input>
            <button class="but" type="submit" name="sub">登录</button>
        </form>
    </div>
</body>
</html>